{[include file="../../../../library/view/templates/header.tpl"]}
{[include file="../../../../library/view/templates/common.tpl"]}
<script src="{[$host]}/js/goods/goodsFormulaDetail.js" type="text/javascript"></script>
<div id="BMainContents" >
<div class="BSpace10px"></div>
<div id="BMainTitleH1">{[$goods_EC0007_Formula]}</div><div id="BError">{[include file="../../../../library/view/templates/tag/error.tpl"]}</div>
<div class="BFence">
<div class="BSpace10px"></div>
<form id="goodsFormulaDetailForm" name="goodsFormulaDetailForm" action="" method="post" >
<input type= "hidden" name= "hidProductGoodsNo" id = "hidProductGoodsNo" value = "{[$arrFormulaInfo.GOODS_NO]}"/>
<input type= "hidden" name= "hidFormulaNo" id = "hidFormulaNo" value = "{[$FormulaNo]}"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
    <tr>
        <td>
        <div class="BFenceTopLeft"></div>
        <div class="BFenceTopRight"></div>
        </td>
    </tr>
    <tr>
        <td class="BFenceSideLine">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="BGrayLineTable">
            <tr>
                <td colspan="4">
                    <div class="BLittleTitle">
                    配方名称：  {[$arrFormulaInfo.FORMULA_NAME]}
                    </div>
                </td>
            </tr>
            <tr>
                <td width="15%" class="BListTableHeader">
                    NO.
                </td>
                <td width="30%" class="BListTableHeader">
                    {[$goods_EC0007_GoodsName]}
                </td>
                <td width="15%" class="BListTableHeader">
                    {[$goods_EC0007_Num]}
                </td>
                <td width="15%" class="BListTableHeader">
                    {[$goods_EC0007_InNum]}
                </td>
            </tr>
            {[foreach from = $arrFormulaItemInfo key =key item = msg]}
            <tr>
                <td width="15%" class="BListLabel">
                    {[$key+1]}
                </td>
                <td width="30%">
                        {[$msg.GOODS_NAME]}
                        <input type= "hidden" name= "hidGoodsNo" id = "hidGoodsNo{[$key]}" value = "{[$msg.GOODS_NO]}"/>
                </td>
                <td width="15%">
                        {[$msg.NUM]}
                        <input type= "hidden" name= "hidNeedNum" id = "hidNeedNum{[$key]}" value = "{[$msg.NUM]}"/>
                </td>
                <td width="15%">
                        {[$msg.STOCK_NUM]}
                        <input type= "hidden" name= "hidStockNum" id = "hidStockNum{[$key]}" value = "{[$msg.STOCK_NUM]}"/>
                </td>
            </tr>
            {[/foreach]}
        </table>
        </td>
    </tr>
    <tr>
        <td>
        <div class="BFenceBottomLeft"></div>
        <div class="BFenceBottomRight"></div>
        </td>
    </tr>
</table>
<div align = "center">
    <input class="BGrayBtn" type = "button" name = "edit"　id = "edit" value = "{[$goods_EC0007_Edit]}" onclick = "goods_FormulaEdit('{[$FormulaNo]}')"/>
    <input class="BGrayBtn" type = "button" name = "back"　id = "back" value = "{[$goods_EC0007_Back]}" onclick = "goods_back()"/>
</div>
<table>
    <tr>
        <td>
        <div class="BFenceTopLeft"></div>
        <div class="BFenceTopRight"></div>
        </td>
    </tr>
    <tr>
        <td>
        <div class="BFenceBottomLeft"></div>
        <div class="BFenceBottomRight"></div>
        </td>
    </tr>
</table>
<div align = "center">
<input class="BGrayBtn" type = "button" name = "Manufacturing" id = "Manufacturing" value = "{[$goods_EC0007_Manufacturing]}" onclick = "goods_Manufacturing()"/>
<input type = "text" name = "txtManufacturingNum" id = "txtManufacturingNum" value = "" onblur = "goods_check()"/>
</div>
</form>
</div>
</div>

{[include file="../../../../library/view/templates/footer.tpl"]}
